show ip dhcp-server custom-option-data

Displays DHCP custom option data.

Syntax

Command Mode

User EXEC

Command Output

The show ip dhcp-server custom-option-data command displays the following information:

Output field

Description

SCOPE

Displays the DHCP custom option data entries.

CODE

Displays the DHCP code that identifies the custom option.

TYPE

Displays the data type that is defined for this custom option. The data type can be an IPv4 address, 32-bit integer, or string.

VALUE

Displays the data value that is assigned to this custom option within the specified subnet.

Example

switch:1#show ip dhcp-server custom-option-data
================================================================================
                         DHCP Server Custom Option Data
================================================================================
SCOPE                CODE   TYPE           VALUE
--------------------------------------------------------------------------------
Global               250    ipv4-address   203.0.113.5
198.51.100.0/24      250    ipv4-address   203.0.113.23
vendor-class-20      246    ipv4-address   192.0.2.24
--------------------------------------------------------------------------------
 Total Number of DHCP Server custom-options displayed: 3
--------------------------------------------------------------------------------